package cn.iocoder.yudao.module.shop.controller.admin.shopInfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 商户信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ShopInfoRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "商户编号")
    private String shopNo;

    @Schema(description = "品牌id", requiredMode = Schema.RequiredMode.REQUIRED, example = "3005")
    @ExcelProperty("品牌id")
    private Long brandId;

    @Schema(description = "店铺名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("店铺名称")
    private String shopName;

    @Schema(description = "店铺简介", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("店铺简介")
    private String shopAbstract;

    @Schema(description = "商户介绍")
    @ExcelProperty("商户介绍")
    private String introduction;

    @Schema(description = "店铺电话", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("店铺电话")
    private String mobile;

    @Schema(description = "店铺封面")
    @ExcelProperty("店铺封面")
    private String coverKey;

    @Schema(description = "店铺轮播图【数组】")
    @ExcelProperty("店铺轮播图【数组】")
    private List<String> picKeys;

    @Schema(description = "店铺营业周期")
    @ExcelProperty("店铺营业周期")
    private String openRemarks;

    @Schema(description = "店铺经度", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("店铺经度")
    private String longitude;

    @Schema(description = "店铺维度", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("店铺维度")
    private String latitude;

    @Schema(description = "店铺详细地址", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("店铺详细地址")
    private String descAddress;

    @Schema(description = "店铺所在地-省")
    @ExcelProperty("店铺所在地-省")
    private String province;

    @Schema(description = "店铺所在地-市")
    @ExcelProperty("店铺所在地-市")
    private String city;

    @Schema(description = "店铺所在地-区")
    @ExcelProperty("店铺所在地-区")
    private String district;

    @Schema(description = "店铺所在地-省市区")
    @ExcelProperty("店铺所在地-省市区")
    private String address;

    @Schema(description = "定位的地址")
    private String referAddress;

    @Schema(description = "点赞数量", example = "13632")
    @ExcelProperty("点赞数量")
    private Integer pickCount;

    @Schema(description = "评分数量", example = "16836")
    @ExcelProperty("评分数量")
    private Integer starCount;

    @Schema(description = "评分")
    @ExcelProperty("评分")
    private BigDecimal star;

    @Schema(description = "店铺状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty(value = "店铺状态", converter = DictConvert.class)
    @DictFormat("dc_status") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private String status;

    @Schema(description = "入驻时间")
    private LocalDateTime settleTime;

    @Schema(description = "过期时间")
    private LocalDateTime expireTime;

    @Schema(description = "是否为系统默认商户")
    private Boolean isDefault;

    @Schema(description = "腾讯地图 KEY", requiredMode = Schema.RequiredMode.REQUIRED, example = "123456")
    private String tencentLbsKey;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;
}